//
//  SearchCollectionViewCell.m
//  Travel assistant
//
//  Created by 杨帆 on 16/3/15.
//  Copyright © 2016年 旅游助手. All rights reserved.
//

#import "SearchCollectionViewCell.h"

@implementation SearchCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    
    if (self) {
        
        [self addViews];
    }
    return self;
}




-(void)addViews{
    
    
    _cityLabel = [UILabel new];
    _cityLabel.frame = CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height);
    _cityLabel.layer.cornerRadius = 15;
    _cityLabel.textColor = [UIColor colorWithRed:67/255.0 green:171/255.0 blue:182/255.0 alpha:1];
    _cityLabel.textAlignment = NSTextAlignmentCenter;
    _cityLabel.layer.borderWidth = 1;
    _cityLabel.layer.borderColor = [UIColor colorWithRed:67/255.0 green:171/255.0 blue:182/255.0 alpha:1].CGColor;
    [self.contentView addSubview:_cityLabel];
    
 
}

@end
